<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'stos.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
	<link rel="stylesheet" href="css/nivo-slider.css" type="text/css"
		media="screen" />
	<link rel="stylesheet" href="css/style.css" type="text/css"
		media="screen" />
	<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css"
		media="screen" />
	<script type="text/javascript" src="js/jquery-1.3.1.min.js"></script>
	<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
	<script type="text/javascript" src="js/bootstrap-validation.js"></script>
	<body>
		<div id="container">
			<jsp:include page="head.jsp"></jsp:include>
			<div class="menu">
			<ul id="menu">
		     	<li>
					<a class="l1" href="home.jsp"></a>
				</li>
				<li>
					<a class="l2" href="line.jsp"></a>
				</li>
				<li>
					<a class="l3" href="station.jsp"></a>
				</li>
				<li>
					<a class="l4" href="stos.jsp"></a>
				</li>
				<li>
				       <div class="denglu l5" id="show"></div>
				</li>
			</ul>
			</div>
			<div id="center">
				<form  id="form" name="form" action="StaToStaServlet" method="post" class="form-horizontal">
					<fieldset>
						<legend>
							站站查询
						</legend>
						<div class="control-group">
							<label class="control-label" for="input01">
								<span class="ziti">请输入起始站点名</span>:
							</label>
							<div class="controls">
								<input name="sname" type="text" class="input-xlarge"
									id="input01" check-type="required" required-message="站点名不能为空">
								<p class="help-inline error"></p>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01">
								<span class="ziti">请输入终点站点名:</span>
							</label>
							<div class="controls">
								<input name="ename" type="text" class="input-xlarge"
									id="input01" check-type="required" required-message="站点名不能为空">
								<p class="help-inline error"></p>
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="input01"></label>
							<div class="controls">
								<button type="submit" class="btn  btn-primary">
									查询
								</button>
								
							</div>
						</div>
					</fieldset>
				</form>
			</div>
			<jsp:include page="foot.jsp"></jsp:include>
		</div>
		<script type="text/javascript">
		$('#form').validation();
		$('#form').fieldValidation();
	</script>
	</body>
</html>